<?php
$options = Helper::options();
$db = Typecho_Db::get();
$prefix = $db->getPrefix();
$books = $db->fetchAll(
    $db->select()->from($prefix . 'booksline')->order($prefix . 'booksline.id', Typecho_Db::SORT_DESC)
);

?>
<div class="jazz-timeline-wrapper">
    <div class="jazz-timeline white-timeline ultimate-style">
        <?php foreach ($books as $book) : ?>

            <div class="timeline-post light-grey-post">
                <div class="timeline-icon icon-larger iconbg-turqoise icon-color-white">
                    <div class="icon-placeholder"><i class="fa fa-map-marker"></i></div>
                    <div class="timeline-bar"></div>
                </div>
                <div class="timeline-content">
                    <h2 class="content-title turqoise-title"> Location Maps </h2>
                    <div class="content-details">
                        <div class="mwrap">
                            <div id="map-canvas" class="map"></div>
                        </div>
                    </div>
                </div><!-- timeline content -->
            </div><!-- .timeline-post -->

        <?php endforeach; ?>

    </div><!-- .timeline -->
</div><!-- .jazz-timeline-wrapper -->
<script src="https://maps.googleapis.com/maps/api/js?sensor=false&callback=initialize"></script>
<script src="js/scripts.js"></script>
</body>

</html>